// postcss 插件以 object 方式注册的话，是按照由上到下的顺序执行的
module.exports = {
  plugins: {
    "postcss-purgecss": {
      content: ["./src/**/*.{js,jsx,ts,tsx}", "./src/**/*.scss"],
      safelist: [
        /^flex/,
        /^font/,
        /^mt-/,
        /^mb-/,
        /^ml-/,
        /^mr-/,
        /^pt-/,
        /^pb-/,
        /^pl-/,
        /^pr-/,
        /^width-/,
        /^height-/,
        /^radius-/,
      ],
    },
  },
};
